<template>
  <div class="title-wrap">
    <div class="icon" />
    <div class="title">{{ title }}</div>
  </div>
</template>

<script>
export default {
  name: 'Title',
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
.title-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  .icon {
    width: 6px;
    height: 24px;
    background: #ef8334;
    border-radius: 3px;
  }
  .title {
    margin-left: 10px;
    font-size: 20px;
    font-family: MicrosoftYaHei;
    font-weight: 400;
    color: #333333;
  }
}
</style>
